import { Files } from '../imports';

export function FilesPage() {
	return (
		<>
			<h2>文件</h2>
			<Files max={15} reorder />
			<p>列表样式</p>
			<Files max={15} reorder appearance="list" />
			<p>禁用的</p>
			<Files max={15} disabled files={[{ type: 'server', id: '1', name: 'ssss.txt', url: 'abc.txt' }]} />
			<p>只读的</p>
			<Files max={15} readOnly files={[{ type: 'server', id: '1', name: 'ssss.txt', url: 'abc.txt' }]} />
			<p>禁止重新排序的</p>
			<Files max={15} reorder={false} />
		</>
	);
}
